package lanou3g.com.Fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import lanou3g.com.Activity.R;

public class Home_Page_Fragment extends Fragment {

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

        View v = inflater.inflate(R.layout.fragment_home__page,null);
        return v;
    }
    //        initView();
//        initData();

//    private void initView() {
//        main_tabLayout = (TabLayout) findViewById(R.id.main_tabLayout);
//        main_viewPager = (ViewPager) findViewById(R.id.main_viewPager);
//        //设置TabLayout可滑动模式
//        main_tabLayout.setTabMode(TabLayout.MODE_SCROLLABLE);
//        main_tabLayout.setSelectedTabIndicatorColor(0Xff0088ff);//设置滑动条颜色
//    }
//
//    private void initData() {
//        Main_Adapter adapter1 = new Main_Adapter(getSupportFragmentManager());
//        main_viewPager.setAdapter(adapter1);
//        //TabLayout和viewPager进行绑定
//        main_tabLayout.setupWithViewPager(main_viewPager);
//
//    }
//
}
